package patrol.mobile.com.mobilepatrol.api;

import com.zhy.http.okhttp.callback.Callback;

import java.io.IOException;

import okhttp3.Response;

/**
 * Created by zhy on 15/12/14.
 */
public abstract class ByteCallback extends Callback<byte[]>
{
    @Override
    public byte[] parseNetworkResponse(Response response, int id) throws IOException
    {
        return response.body().bytes();
    }
}
